<tr class="prop">
  <td valign="top" class="name">Type:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'type')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Company Name:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'name')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Doctors Name:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'doctorsName')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Primary Address:</td>
  <td valign="top" class="value">
    <g:link controller="address" action="show" params="[companyId:company.id, addressType:'Primary', id:company.primaryAddress.id]">${company?.primaryAddress?.encodeAsHTML()}</g:link>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Billing Address:</td>
  <td valign="top" class="value">
    <g:if test="${company.billingAddress}">
      <g:link controller="address" action="show" params="[companyId:company.id, addressType:'Billing', id:company.billingAddress.id]">${company?.billingAddress?.encodeAsHTML()}</g:link>
    </g:if>
    <g:else>
      No Billing Address.
    </g:else>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Phone:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'phone')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Fax:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'fax')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Website:</td>
  <td valign="top" class="value">
    <g:if test="${company.website}">
      <a href="http://${company.website}">${company.website}</a>
    </g:if>
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Email:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'email')}</td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Active:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'active')}</td>
</tr>
<g:ifAnyGranted role="ROLE_ADMIN,ROLE_POWER_USER">
  <tr class="prop">
    <td valign="top" class="name">Principle Company:</td>
    <td valign="top" class="value">${fieldValue(bean:company, field:'principle')}</td>
  </tr>
</g:ifAnyGranted>
<g:if test="${company.parentCompany}">
  <tr class="prop">
    <td valign="top" class="name">
      <label for="parentCompany">Parent Company:</label>
    </td>
    <td valign="top" class="value">
      ${company.parentCompany}
    </td>
  </tr>
</g:if>
<tr class="prop">
  <td valign="top" class="name">Notes:</td>
  <td valign="top" class="value">${fieldValue(bean:company, field:'notes')}</td>
</tr>
